a = [1, 201, 12, 300, 400]

for i in a:
    if i > 100:
        a.remove(i)

print(a)  # [1, 12, 400]
